<?php /* Smarty version 2.6.26, created on 2014-06-13 01:23:30
         compiled from C:/wamp/www/360/index/Tpl/Index/list.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/css/list.css" />
</head>
<body>


<!--背景遮罩--><div id='background' class='hidden'></div>
<!-- top 结束-->

	<div id='location'>
		<a href="">全部分类</a>
			&gt;&nbsp;<?php echo $this->_tpl_vars['url']['title']; ?>
&nbsp;&nbsp;
			&gt;&nbsp;<a href=""><?php echo $this->_tpl_vars['urlson']['title']; ?>
</a>&nbsp;&nbsp;
	</div>
<div class="SSwd">
<!--------------------中部-------------------->
	<div id='center'>
		<div id='left'>
			<div id='cate-list'>
				<p class='title'>按分类查找</p>
				<ul>
				<?php $_from = $this->_tpl_vars['urlson']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
					<li>
						<a href="index.php?m=url&cid=<?php echo $this->_tpl_vars['v']['cid']; ?>
&judge=solve=0"><?php echo $this->_tpl_vars['v']['title']; ?>
</a>
					</li>
					<?php endforeach; endif; unset($_from); ?>
					<!-- <li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li>
					<li>
						<a href="">硬件</a>
					</li> -->
				</ul>
			</div>
			<div id='answer-list'>
				<ul class='ans-sel'>
				<?php if ($_GET['judge'] == 'solve=0'): ?>
					<li class='on'>
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=solve=0">待解决问题</a>
					</li>
					<?php else: ?>
					<li class=''>
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=solve=0">待解决问题</a>
					</li>
					<?php endif; ?>
					<?php if ($_GET['judge'] == 'solve=1'): ?>
					<li class="on">
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=solve=1">已解决</a>
					</li>
						<?php else: ?>
						<li >
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=solve=1">已解决</a>
					</li>
						<?php endif; ?>
						<?php if ($_GET['judge'] == 'reward=10'): ?>
					<li class="on">
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=reward=10">高悬赏</a>
					</li>
					<?php else: ?>
					<li >
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=reward=10">高悬赏</a>
					</li>
					<?php endif; ?>
					<?php if ($_GET['judge'] == 'answer=0'): ?>
					<li class="on" >
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=answer=0">零回答</a>
					</li>
					<?php else: ?>
					<li>
						<a href="<?php echo @__APP__; ?>
?m=url&cid=<?php echo $_GET['cid']; ?>
&judge=answer=0">零回答</a>
					</li>
					<?php endif; ?>
				</ul>
				<!-- 待解决问题 -->
				<table>
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th>时间</th>
					</tr>
						
						<?php $_from = $this->_tpl_vars['cateask']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k_on'] => $this->_tpl_vars['v_no']):
?>
						<tr>
							
							<td class='t1 cons'>
								<a href="<?php echo @__APP__; ?>
?c=Show&asid=<?php echo $this->_tpl_vars['v_no']['asid']; ?>
">
									<b>20</b><?php echo $this->_tpl_vars['v_no']['content']; ?>
</a>[<?php echo $this->_tpl_vars['url']['title']; ?>
]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
						<?php endforeach; endif; unset($_from); ?>
					<!-- 	<tr>
							<td class='t1 cons'>
								<a href="">
									<b>20</b>后盾顶尖PHP培训</a>&nbsp;&nbsp;[培训]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
						<tr>
							<td class='t1 cons'>
								<a href="">
									<b>20</b>后盾顶尖PHP培训</a>&nbsp;&nbsp;[培训]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
						<tr>
							<td class='t1 cons'>
								<a href="">
									<b>20</b>后盾顶尖PHP培训</a>&nbsp;&nbsp;[培训]
							</td>
							<td>20</td>
							<td>1900.1.1</td>
						</tr>
 -->
					<tr class='page'>
						<td colspan='3'>
							<a href="">1</a>
							<a href="">2</a>
							<a href="">3</a>
						</td>
					</tr>
				</table>

			</div>
		</div>

		<!-- 右侧 -->
		<div id='right'>
		<?php if ($this->_tpl_vars['now_memberCenter'] == 0): ?>
			<div class='userinfo'>
			请先登陆
			</div>

		<?php else: ?>
		<div class='userinfo'>
			<dl>
				<dt>
					<a href="" ><img style="border-radius:50%" src="<?php echo $this->_tpl_vars['icoinfo']; ?>
" width='48' height='48' alt="占位符"/></a>
				</dt>
				<dd class='username'>
					<a href="">
						<b><?php echo $_SESSION['name']; ?>
</b>
					</a>
					<a href="">
						<i class='level lv1' title='Level 1'></i>
					</a>
				</dd>
				<dd>金币：<a href="" style="color: #888888;"><?php echo $this->_tpl_vars['now_memberCenter']['point']; ?>
<b class='point'></b></a></dd>
				<dd>经验值：<?php echo $this->_tpl_vars['now_memberCenter']['exp']; ?>
</dd>
			</dl>
			<table>
				<tr>
					<td>回答数</td>
					<td>采纳率</td>
					<td class='last'>提问数</td>
				</tr>
				<tr>
					<td><a href=""><?php echo $this->_tpl_vars['now_memberCenter']['answer']; ?>
</a></td>
					<td><a href="">20%</a></td>
					<td class='last'><a href=""><?php echo $this->_tpl_vars['now_memberCenter']['ask']; ?>
</a></td>
				</tr>
			</table>
			<ul>
				<li><a href="">我提问的</a></li>
				<li><a href="">我回答的</a></li>
			</ul>
		</div>
		<?php endif; ?>
		<!-- <div class='r-login'>
			<span class='login'><i></i>&nbsp;登录</span>
			<span class='register'><i></i>&nbsp;注册</span>
		</div> -->
	<div class='clear'></div>
	<div class='star'>
		<p class='title'>后盾问答之星</p>
		<span class='star-name'>回答问题最多的人</span>
			<div class='star-info'>
				<div>
					<a href="" class='star-face'>
						<img src="<?php echo $this->_tpl_vars['icoAnswerMore']; ?>
" width='48px' height='48px' alt="头像站位"/>
					</a>
					<ul>
						<li><a href=""><?php echo $this->_tpl_vars['moreanswer']['username']; ?>
</a></li>
						<i class='level lv1' title='Level 1'></i>
					</ul>
				</div>
				<ul class='star-count'>
					<li>回答数：<span><?php echo $this->_tpl_vars['moreanswer']['answer']; ?>
</span></li>
					<li>采纳率：<span>50%</span></li>
				</ul>
			</div>
		<span class='star-name'>红验最多的人</span>

		<div class='star-info'>
			<div>
				<a href="" class='star-face'>
					<img src="<?php echo $this->_tpl_vars['icoExpMore']; ?>
" width='48px' height='48px' alt="头像站位"/>
				</a>
				<ul>
					<li><a href=""><?php echo $this->_tpl_vars['moreexp']['username']; ?>
</a></li>
					<i class='level lv1' title='Level 1'></i>
				</ul>
			</div>
			<ul class='star-count'>
				<li>回答数：<span><?php echo $this->_tpl_vars['moreexp']['answer']; ?>
</span></li>
				<li>红验数:<span><?php echo $this->_tpl_vars['moreexp']['exp']; ?>
</span></li>
			</ul>
		</div>
	</div>
	<div class='star-list'>
		<p class='title'>后盾问答助人光荣榜</p>
		<div>
			<ul class='ul-title'>
				<li>用户名</li>
				<li style='text-align:right;'>回答过的条数</li>
			</ul>
			<ul class='ul-list'>
			<?php $_from = $this->_tpl_vars['moreansweruser']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['kanswer'] => $this->_tpl_vars['vanswer']):
?>
				<li>
					<a href=""><i class='rank r1'></i><?php echo $this->_tpl_vars['vanswer']['username']; ?>
</a>
					<span><?php echo $this->_tpl_vars['vanswer']['answer']; ?>
</span>
				</li>
				<?php endforeach; endif; unset($_from); ?>
			<!-- 	<li>
					<a href=""><i class='rank r2'></i>houdunwang.com</a>
					<span>100</span>
				</li>
				<li>
					<a href=""><i class='rank r3'></i>houdunwang.com</a>
					<span>100</span>
				</li> -->				
			</ul>
		</div>
	</div>
</div>
</div>
<!-- ---右侧结束---- -->
	</div>
<!--------------------中部结束-------------------->

<!-- 底部 -->
	<div id='bottom'>
		<p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
		<p>京公安网备xxxxxxxxxxxx</p>
	</div>
<!--[if IE 6]>
    <script type="text/javascript" src="./Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->